package org.springframework.webmvc.test;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

//不扫描有@Controller注解的类
@ComponentScan(value = "org.springframework.webmvc.test",excludeFilters = {
        @ComponentScan.Filter(type = FilterType.ANNOTATION,classes = {Controller.class})
        /*,@ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE,classes = {AppConfig.class})*/
})
//@EnableWebMvc
public class SpringContainer
{
}
